package com.sudo.boot.mapper.sys.model.bo;

import com.sudo.boot.core.validenum.FxwSomeName;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class SysUserBoEdit {

    @NotNull(message = "ID不能为空")
    private Integer id;

    @FxwSomeName("昵称")
    private String nickName;

    @NotEmpty(message = "角色不能为空")
    private List<String> roleCodeList;

    private String note;
}
